<?php

class View_Helper_If extends View_Helper
{

  public function execute($string, $true = null, $false = null)
  {
    return (! empty($string)) ? $true : $false;
  }

}
